package com.itqf.service;

import com.itqf.entity.Address;

import java.sql.SQLException;
import java.util.List;

/**
 * 地址模块业务逻辑层接口
 */
public interface AddressService {

    List<Address> findAddressByUid(int uid) throws SQLException;

    void saveAddress(Address address) throws SQLException;

    void deleteAddressByAid(String aid) throws SQLException;

    void setAddressToDefult(String aid, int uid) throws SQLException;

    void updateAddressByAid(Address address) throws SQLException;
}
